/**
 * @file crud action
 * @author liaoxuezhi@baidu.com
 */
/* eslint fecs-indent: [0, "space", 2, 2] */

import {
  // 其他 Action
  REQ_ACTION,
  REC_ACTION,

  REQ_FETCH_PAGE,
  REC_FETCH_PAGE
} from './action-types';
import {createAjaxAction} from '../renderer';

export const fetchPage = createAjaxAction('get', REQ_FETCH_PAGE, REC_FETCH_PAGE);
export const doAction = createAjaxAction('post', REQ_ACTION, REC_ACTION);
